Foam dressing with an integrated adhesive border